package ren.kane.phoenix.design.decorator;

/**
 * @author renrk(1275) on 2018-10-29 10:06 AM
 **/
public abstract class ShapeDecorator implements Shape {

    protected Shape decoratedShape;

    public ShapeDecorator(Shape decoratedShape) {
        this.decoratedShape = decoratedShape;
    }

    @Override
    public void draw() {
        decoratedShape.draw();
    }
}
